import React from "react";
import { getNavList } from "../../services/exercise"



const NAV_LIST = getNavList(15);

function LeftMenu() {
    return (<div>
        <h2>左侧栏</h2>
        <ul className="list-group">
            {
                NAV_LIST.map(item => {
                    return <li className="list-group-item" key={item.id}>{item.name}</li>
                })
            }
        </ul>
    </div>)
}

export default LeftMenu;
